#define _CRT_SECURE_NO_WARNINGS  1
#include"Queue.h"

int main()
{
	Queue q;
	QueueInit(&q);
	int arr[] = { 1,2,3,4,5,6,7,8,9,10 };

	for (int i = 0; i < sizeof(arr) / sizeof(int); i++)
	{
		QueuePush(&q, arr[i]);
	}

	while (!QueueEmpty(&q))
	{
		printf("%d ", QueueTop(&q));
		QueuePop(&q);
	}
	
	QueueDestroy(&q);

}